package common.ctrl.impl;

import java.util.HashMap;
import java.util.Map;

import common.ctrl.IObserver;


public final class ControlFactory {
        
        
        
        //private static Map<String, Action> map = new HashMap<String, Action>();
        private static Map<String, IObserver> obs = new HashMap<String, IObserver>();
    static { 
        obs.put(HelpCtrl.HELP_DIALOG_CTRL, new HelpCtrl());
    }
    
        public static IObserver getControl(String name) {
                return obs.get(name);
        }
}